<template>
	<view :class="{bg141414:theme}"  style="min-height: 100vh;">
		<image mode="widthFix" class="image  posiab" src="/static/suuming.png"></image>
		<image mode="widthFix" @click="back()" class="image posiab width30 top50 left30" src="/static/back.png"></image>
		<view class="flex-ju-c">
			<image mode="widthFix" class="image posiab width440 top150" src="/static/shimmingsuu.png"></image>
		</view>
		<view class="flex-ju-c">
			<view class="con posifi bottom0 ">
				<view :class="theme?'bg292929 colorfff':'bgf5f6f7'" class="bgfff pg30   size26 " style="border-top-right-radius: 20px;border-top-left-radius: 20px;">
					<view class="flex-ju-c size30 color000">个人信息</view>
					<view class="flex-ju-b borderE1E1E1 pg40 ra20 mt50"> 
						<view>已注册手机号</view>
						<view :class="theme?'color999':'color333'">{{phone.substring(0,3)}}****{{phone.substring(7,11)}}</view>
					</view>
					<view class="flex-ju-b mt30 borderE1E1E1 pg40 ra20">
						<view>证件姓名</view>
						<view  :class="theme?'color999':'color333'">{{info.true_name.substring(0,1)}}**</view>
					</view>
					<view class="flex-ju-b mt30 borderE1E1E1 pg40 ra20">
						<view>证件号码</view>
						<view  :class="theme?'color999':'color333'">{{info.idcard.substring(0,4)}}******</view>
					</view>
					
				</view>
			</view>
		</view>
	
	</view>
</template>

<script>
	export default {
		data() {
			return {
				theme: uni.getStorageSync('theme'),
				info:{},
				phone: uni.getStorageSync('phone'),
			}
		},
		onLoad() {
			this.http('user/idcard').then((res) => {
				this.info = res.data
				uni.setStorageSync('isOkData', res.data);
			})
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
